import { createApp } from 'vue'
import App from './App.vue'
// import App from './test/veeValidate.vue'
// import App from './test/IntersectionDemo.vue'
import router from './router'
import store from './store'

import 'normalize.css' // 使用第三方的css来重置样式
import '@/styles/common.less'
import Components from '@/components'
import Directives from '@/directives'
// 使用插件的格式
//    V2: Vue.use()
//    V3: vue应用.use()
// .use(vue插件) 链式写法[Promise.then.then...]
const app = createApp(App)
app.use(store).use(router).use(Components).use(Directives).mount('#app')
